# File        :  readme
#
# Purpose     :  Explain the content of the single-binary scripts folder 
#
# Copyright   :  Written by and Copyright (C) 2001-2012 the
#                Privoxy team. http://www.privoxy.org/
#
#                This program is free software; you can redistribute it
#                and/or modify it under the terms of the GNU General
#                Public License as published by the Free Software
#                Foundation; either version 2 of the License, or (at
#                your option) any later version.
#
#                This program is distributed in the hope that it will
#                be useful, but WITHOUT ANY WARRANTY; without even the
#                implied warranty of MERCHANTABILITY or FITNESS FOR A
#                PARTICULAR PURPOSE.  See the GNU General Public
#                License for more details.
#
#                The GNU General Public License should be included with
#                this file.  If not, you can view it at
#                http://www.gnu.org/copyleft/gpl.html
#                or write to the Free Software Foundation, Inc.,
#                51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
#                USA
#
# Modification : If you modify this file please consider whether your 
#                changes ought to be passed back to the macsetup module.
#

These single-binary pre/postinstall scripts are the ones currently used by the supplied PackageMaker projects (OS X 10.4.pmdoc and OS X 10.5+.pmdoc).

Pre/postupgrade are hard links to their respective install version since the pre/postinstall scripts handle both fresh install and upgrade cases. Be careful when editing pre/postinstall that the hard links still work; many editors (including Xcode) break the hard link when editing a file, meaning you'd need to delete pre/postupgrade and recreate the links as follows:

ln preinstall preupgrade
ln postinstall postupgrade